package com.carkeeper.system.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @author 周志雄
 * @version 1.0
 * @date 2020/11/23 15:29
 */
@Table(name = "tb_department")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Department implements Serializable {
    @Id
    //部门id
    private Long id;
    //部门编码
    private String code;

    //部门名称
    private String name;
    //创建时间
    private Date createTime;
    //是否删除 0 未删除 1 已删除
    private Integer isdelete;

}
